package com.franklin.java.api.mybatis.dom.model.nested;

import com.franklin.java.api.dom.idea.ValueDomElement;
import com.intellij.util.xml.DomElement;
import com.intellij.util.xml.SubTagList;
import com.intellij.util.xml.SubTagsList;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * 可以嵌套DOM元素
 * @author Franklin
 * @since 2021/08/20 23:43
 */
public interface Nested extends ValueDomElement {

    @SubTagList("if")
    List<If> getIfs();

    @SubTagList("choose")
    List<Choose> getChooses();

    @SubTagList("include")
    List<Include> getIncludes();

    @SubTagList("foreach")
    List<Foreach> getForeachList();

    @SubTagList("where")
    List<Where> getWheres();
}
